﻿using Terraria;
using Terraria.ID;
using Terraria.ModLoader;

namespace HardcoreGame.Content.Items.Weapons.Ranged.Airplanes
{
    public class MagmaPaperAirplane : ModItem
    {
        public override void SetDefaults()
        {
            Item.width = 22;
            Item.height = 16;
            Item.value = Item.sellPrice(0, 0, 10);

            Item.DefaultToThrownWeapon(ModContent.ProjectileType<Projectiles.Airplanes.MagmaPaperAirplane>(), 17, 5f); 
            Item.SetWeaponValues(12, 2f); 
        }
        public override void AddRecipes()
        {
            CreateRecipe(10)
                .AddIngredient(ItemID.PaperAirplaneA, 10)
                .AddIngredient(ItemID.HellstoneBar, 1)               
                .AddTile(TileID.Anvils)
                .Register();
        }
    }
}
